StoreEngine\Addons\Paypal\PaypalExpressService A

Total Complexity 51
Dependencies 7
Dependents 3
Total lines 509
Lines of code 265
Logical lines of code 99
Comment lines 113
Methods 27
Properties 10

Methods 27

Method Rating Maintainability Complexity Lines of code
api_request()
A
41 13 56
validate_credentials()
S
52 4 24
get_paypal_amount()
S
61 4 12
init_settings()
S
60 4 12
create_product_and_subscription()
S
48 1 34
create_order()
S
58 1 16
__construct()
S
67 2 8
get_api_url()
S
66 2 8
init()
S
71 2 6
create_product()
S
62 1 13
update_order()
S
61 1 13
capture_subscription_order()
S
62 1 11
api_delete()
S
78 1 3
three_decimal_currencies()
S
80 1 3
no_decimal_currencies()
S
80 1 3
get_supported_currencies()
S
80 1 3
create_webhook()
S
79 1 3
create_subscription()
S
65 1 10
get_currency()
S
82 1 3
get_auth_header()
S
78 1 3
api_patch()
S
78 1 3
create_subscription_plan()
S
79 1 3
get_order()
S
78 1 3
api_get()
S
79 1 3
api_post()
S
78 1 3
authorize_order()
S
78 1 3
capture_order()
S
78 1 3